package com.example.administrator.demob;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class LowPriorityReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Bundle bundle = getResultExtras(false);
        String address = bundle.getString("ADDRESS");
        int number = bundle.getInt("NUMBER");

        String book = bundle.getString("BOOK");
        int price = bundle.getInt("PRICE");
        Log.e("LowPriorityReceiver", "onReceive  address = "+ address +
                "   number = "+number+ "  book = "+ book +"   price = "+ price);
    }
}
